// vite.config.ts
import { defineConfig } from "file:///C:/Users/86177/Desktop/code/%E9%A1%B9%E7%9B%AE/%E6%85%A7%E6%95%99%E4%BA%91/Administrator/node_modules/.pnpm/vite@5.3.2_@types+node@20.14.9_sass@1.77.6/node_modules/vite/dist/node/index.js";
import path from "path";
import react from "file:///C:/Users/86177/Desktop/code/%E9%A1%B9%E7%9B%AE/%E6%85%A7%E6%95%99%E4%BA%91/Administrator/node_modules/.pnpm/@vitejs+plugin-react-swc@3.7.0_vite@5.3.2_@types+node@20.14.9_sass@1.77.6_/node_modules/@vitejs/plugin-react-swc/index.mjs";
import { createSvgIconsPlugin } from "file:///C:/Users/86177/Desktop/code/%E9%A1%B9%E7%9B%AE/%E6%85%A7%E6%95%99%E4%BA%91/Administrator/node_modules/.pnpm/vite-plugin-svg-icons@2.0.1_vite@5.3.2_@types+node@20.14.9_sass@1.77.6_/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_dirname = "C:\\Users\\86177\\Desktop\\code\\\u9879\u76EE\\\u6167\u6559\u4E91\\Administrator";
var vite_config_default = defineConfig({
  plugins: [
    react(),
    // svg配置
    createSvgIconsPlugin({
      // 指定要缓存的图标文件夹
      iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
      // 指定symbolId格式
      symbolId: "icon-[dir]-[name]"
    })
  ],
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "./src")
      // 相对路径别名配置，使用 @ 代替 src
    }
  },
  // scss全局变量配置
  css: {
    preprocessorOptions: {
      scss: {
        javascriptEnabled: true,
        additionalData: '@import "./src/styles/variable.scss";'
      }
    }
  },
  optimizeDeps: {
    include: [
      "redux-thunk"
      // 指定处理 CommonJS 模块的列表
    ]
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0Z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